from service.oauth import OauthService


class OauthController:

    @classmethod
    def goto_gitee(cls):
        return OauthService.go_gitee()

    @classmethod
    async def get_gitee_token(cls, code: str):
        return await OauthService.get_gitee_token(code)